package com.reger.test.message.service.impl;


import java.text.SimpleDateFormat;
import java.util.Date;

public class D { 
	public static final String format(Date d) {
		return new SimpleDateFormat("yyyyMMdd").format(d);
	}
	public static final long work(Date d) {
		return d.getTime()/1000/60/60/24/7;
	}
}
